import "../css/index.css"; // 没有使用css-loader的时候,打包的时候会报错
import "../css/component.less";
function component() {
    const element = document.createElement("div");
    element.innerHTML = ["hello", "webpack"].join("-");
    element.className = "content";
    return element;
}
document.body.appendChild(component());
